package com.bjqg.bjqg01.bjqg.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.bjqg.bjqg01.bjqg.R;

/**
 * Created by Administrator on 2018/4/9 0009.
 */

public class AboutUsActivity extends BaseActivity implements View.OnClickListener {

    private ImageView goback;
    private TextView toptittle;
    private TextView topsearch;

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.about_us);

        initView();
    }

    private void initView() {

        goback = (ImageView) findViewById(R.id.back);
        toptittle = (TextView) findViewById(R.id.tv_top_title_drawer);
        topsearch = (TextView) findViewById(R.id.tv_search_top_drawer);

        goback.setOnClickListener(this);
        toptittle.setText("关于我们");
        topsearch.setVisibility(View.INVISIBLE);

    }

    @Override
    public void onClick(View v) {

        switch (v.getId()){
            case R.id.back:
                finish();
                break;
        }
    }
}
